package cn.news.dao;

import cn.news.entity.User;

public interface RegisterDao {
	/**
	 * 判断是否重复
	 * @param name
	 * @return
	 */
	public User searchKey(String name);
	/**
	 * 注册用户
	 * @param user
	 * @return
	 */
	public int addUser(User user);
	
}
